package com.learn.beans.bean;

/**
 * Person实体
 *
 * @author gqzdev
 * @date 2021/07/10 10:11
 **/
//@NoArgsConstructor   // 如果加了 lombok 的标签程序无法运行
//@AllArgsConstructor
public class Person {

	private String name;

	private int age;

	public Person() {
	}

	public Person(String name, int age) {
		this.name = name;
		this.age = age;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}
}
